package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class ScenicAttendantRowMapper implements RowMapper<ScenicAttendant>{



	@Override
	public ScenicAttendant mapRow(ResultSet rs, int rowNum) throws SQLException {
		ScenicAttendant  lj= new ScenicAttendant();

		lj.setName(rs.getString("name"));
		lj.setScenicpartment(rs.getString("name"));
		lj.setPositionjob(rs.getString("positionjob"));
		lj.setPhonenumber(rs.getString("phonenumber"));
		lj.setDate(rs.getString("date"));
		return lj;
	}

}
